package com.qidianit.mes.pojo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * @Author 泽华
 * @Description
 * @Time 2024-10-24 0:11
 */
@HeadRowHeight(25)//表头行高
@ContentRowHeight(20)//内容行高
@ColumnWidth(20)//列宽

public class Shipment {
    @ExcelProperty(value = "出货检验单编号",index = 0)
    private Long shipmentId;
    @ExcelProperty(value = "验单名称",index = 1)
    private String shipmentName;
    @ExcelProperty(value = "客户名称",index = 2)
    private String clientName;
    @ExcelProperty(value = "批次号",index = 3)
    private String number;
    @ExcelProperty(value = "产品编码",index = 4)
    private String productNumber;
    @ExcelProperty(value = "产品名称",index = 5)
    private String productName;
    @ExcelProperty(value = "规格型号",index = 6)
    private String model;
    @ExcelProperty(value = "单位",index = 7)
    private Long unit;
    @ExcelProperty(value = "发货数量",index = 8)
    private Long shipmentNumber;
    @ExcelProperty(value = "检测数量",index = 9)
    private Long testNumber;
    @ExcelProperty(value = "不合格数",index = 10)
    private Long unqualifiedNumber;
    @ExcelProperty(value = "检测结果",index = 11)
    private String testResult;
    @ExcelProperty(value = "出货日期",index = 12)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date shipmentTime;
    @ExcelProperty(value = "检测日期",index = 13)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date testTime;
    @ExcelProperty(value = "检测人员",index = 14)
    private String Inspectors;
    @ExcelIgnore
    private Integer processStatus;

    public Long getShipmentId() {
        return shipmentId;
    }

    public void setShipmentId(Long shipmentId) {
        this.shipmentId = shipmentId;
    }

    public String getShipmentName() {
        return shipmentName;
    }

    public void setShipmentName(String shipmentName) {
        this.shipmentName = shipmentName;
    }

    public String getClientName() {
        return clientName;
    }

    public void setClientName(String clientName) {
        this.clientName = clientName;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getProductNumber() {
        return productNumber;
    }

    public void setProductNumber(String productNumber) {
        this.productNumber = productNumber;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public Long getUnit() {
        return unit;
    }

    public void setUnit(Long unit) {
        this.unit = unit;
    }

    public Long getShipmentNumber() {
        return shipmentNumber;
    }

    public void setShipmentNumber(Long shipmentNumber) {
        this.shipmentNumber = shipmentNumber;
    }

    public Long getTestNumber() {
        return testNumber;
    }

    public void setTestNumber(Long testNumber) {
        this.testNumber = testNumber;
    }

    public Long getUnqualifiedNumber() {
        return unqualifiedNumber;
    }

    public void setUnqualifiedNumber(Long unqualifiedNumber) {
        this.unqualifiedNumber = unqualifiedNumber;
    }

    public String getTestResult() {
        return testResult;
    }

    public void setTestResult(String testResult) {
        this.testResult = testResult;
    }

    public Date getShipmentTime() {
        return shipmentTime;
    }

    public void setShipmentTime(Date shipmentTime) {
        this.shipmentTime = shipmentTime;
    }

    public Date getTestTime() {
        return testTime;
    }

    public void setTestTime(Date testTime) {
        this.testTime = testTime;
    }

    public String getInspectors() {
        return Inspectors;
    }

    public void setInspectors(String inspectors) {
        Inspectors = inspectors;
    }

    public Integer getProcessStatus() {
        return processStatus;
    }

    public void setProcessStatus(Integer processStatus) {
        this.processStatus = processStatus;
    }
}
